import { request } from '@umijs/max';

export async function get_infolist_api(CodeLibraryID: string) {
  return request<ResponseApi.ResUnifyFormat<CodeLibraryApi.CodeLibraryInfo[]>>(
    `/api/CodeLibraryOther/GetCodeLibraryInfolist?CodeLibraryID=${CodeLibraryID}`,
    {
      method: 'GET',
    },
  );
}
